package com.laolang.pluto.common.consts;

/**
 * @author laolang
 * @date 2021-08-05 06:50
 */
public enum BusinessType {
    /**
     *
     */
    OTHER(0, "其他"),
    QUERY(1, "查询"),
    ADD(2, "新增"),
    UPDATE(3, "修改"),
    DELETE(4, "删除"),
    ;

    private final Integer code;
    private final String msg;

    BusinessType(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
